function load(id) {
	var params = 1;
	$.ajax({
		url :Server + "/app/pub/list",
		type : "POST",
		data:{
			"offset" : 0,
			"limit" : 10,
			"id" : id
		},
		success : function(data) {
			var rowsList = data.rows;
			var html = "";
			var pattern='<tr>\
				<td>\
			         <input type="checkbox" name="" id="" value="" />\
			         <label><img src="images/icon35.png"/></label>\
		        </td>\
		        <td>#0</td>\
		        <td>#1</td>\
		        <td>#2</td>\
		        <td>#3</td>\
		        <td>\
			       <a onclick="findInfo(#4)">修改</a>\
			       <a onclick="knowledge(#5)">上传仪器知识</a>\
		        </td>\
	         </tr>';
			var item ="<tr>\
							<th></th>\
							<th>仪器编号</th>\
							<th>仪器名称</th>\
							<th>仪器负责人</th>\
							<th>状态</th>\
							<th>操作</th>\
						</tr>";
			for(var i=0; i<rowsList.length; i++){
				
				item += pattern.replace("#0", rowsList[i].number)
					 .replace("#1", rowsList[i].chineseName)
				     .replace("#2", rowsList[i].conUser.username)
				     .replace("#3", rowsList[i].iStatus)
				     .replace("#4", rowsList[i].id)
				     .replace("#5", rowsList[i].id);
			}
			
			$("#publishInstrumentList").html(item);
		},
		error : function(msg) {
			alert(JSON.stringify(data));
		}
	});
}
function findInfo(id){
	$(location).attr('href', 'lizisepuyi16?id=' + id + '');
}
function knowledge(id){
	$(location).attr('href', 'send_machine18_1?id=' + id + '');
}

